﻿using Acme.SmartWMS.BasicInfo.CommodityDetails;
using Acme.SmartWMS.BasicInfo;
using Acme.SmartWMS.DataBasic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;

namespace Acme.SmartWMS.Inbound.OtherInbounds
{
    /// <summary>
    /// 其他入库IService
    /// </summary>
    public interface IOtherInboundAppService
    {
        Task<int> AddOtherInbound(OtherInboundDTO dto);
        Task<int> UpdateOtherInbound(OtherInboundDTO dto);
        Task<int> DeleteOtherInbound(int id);

        PagedResult GetOtherInbound(string? name, int page = 1, int limit = 2);

        Task<OtherInbound> GetOtherInboundById(int id);
        //List<DictItem> GetOtherInboundById(int id = 1);
    }
}
